package com.lz.config.jetcache;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.context.annotation.Configuration;

/**
 * @Package com.lz.config.jetcache
 * @Project currency-trading
 * @Author lenovo
 * @Date 2022/1/9 23:50
 * @Describe JetCache缓存
 * @Version V1.0
 */
@Configuration
@EnableCreateCacheAnnotation
//开启方法级别的缓存
@EnableMethodCache(basePackages = "com.lz.service.impl")
public class JetCacheConfig {
}
